package com.ruoyi.useradmin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.useradmin.domain.UaUser;
import com.ruoyi.activieadmin.domain.AaActive;
import com.ruoyi.campadmin.domain.CaAmenity;
import com.ruoyi.campadmin.domain.CaItemRental;
import com.ruoyi.campadmin.domain.CaItemSale;
import com.ruoyi.campadmin.domain.CaVenueRental;
import com.ruoyi.traveladmin.domain.TaTravel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import lombok.Data;
import java.util.Date;

/**
 * @Description  
 * @author kemonvvv
 * @Date 2023-06-07 
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("ua_collect")
public class UaCollect  extends BaseEntity implements Serializable {


	/**
	*收藏表编号
	*/
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	*用户表编号
	*/
	private Long uaUserId;

	@TableField(exist = false)
	private UaUser uaUser;

	/**
	*收藏类型[1场地租赁/2单品租赁/3单品售卖/4设施/5活动/6游记]
	*/
	private String collectType;

   	@Excel(name="收藏类型")
    @TableField(exist = false)
    private String collectTypeDict;

	/**
	*被收藏的外键表编号
	*/
	private Long collectTypeId;

    /**
     *1场地租赁
     */
    @TableField(exist = false)
    private CaVenueRental caVenueRental;
    /**
     *2单品租赁
     */
    @TableField(exist = false)
    private CaItemRental caItemRental;
    /**
     *3单品售卖
     */
    @TableField(exist = false)
    private CaItemSale caItemSale;
    /**
     *4设施
     */
    @TableField(exist = false)
    private CaAmenity caAmenity;
    /**
     *5活动
     */
    @TableField(exist = false)
    private AaActive aaActive;

    /**
     *6游记
     */
    @TableField(exist = false)
    private TaTravel taTravel;


}
